package com.lincoln.redis.server.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class ServerConfig {
    /**
     * 端口
     */
    @Value("${server.port}")
    private int port;
}
